﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GeoreferenciarUp.aspx.cs" Inherits="AppGisena.Presentacion.Up.GeoreferenciarUp" %>

<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>

         <!DOCTYPE html>

<html>

<body>
 
        <form id="form1" runat="server">
    <ext:ResourceManager runat="server" />
    
    
  
    
    <ext:FormPanel 
        ID="FormPanPrinc" 
        runat="server"
        Title="REGISTRO LOCALIZACIÓN DE LA U.P."
        Width="600" 
        Height="550"        
        BodyPadding="10"
        DefaultAnchor="100%"
        Layout="AutoLayout" 
        StyleSpec="position:absolute;top: 10%;left: 30%;width: 77px; height: 78px;margin-top: -39px; margin-left: -39px;"
        UI="Success ">

      <%--Form Panel Principal  --%>
                

        <Items>
            
            <ext:FieldContainer 
                runat="server" 
                MsgTarget="Side"
                CombineErrors="true"
                FieldLabel="Codigo Up"
                Layout="HBoxLayout">
                  <Items>
                        <ext:NumberField   ID="Txt_Cod_Up" runat="server" MaxLeng="20"  AllowBlank="false" Width="150" />
                          <ext:Toolbar     runat="server"       Flex="1"     Flat="true">   
                        <Items>
                            <ext:Button ID="Button7" runat="server" Text="Buscar..." Icon="Zoom" >
                                   <DirectEvents>
                                   <Click OnEvent="Btn_BuscarUPGISENA_Click">
                                   <EventMask ShowMask="true" Msg="Buscando..." MinDelay="500" />
                                  </Click>
                           </DirectEvents>
                         </ext:Button>
                        </Items>
                    </ext:Toolbar>
                  </Items>

                  </ext:FieldContainer>

        </Items>



        <Items>

         <%--Contenedor datos basicos de la up sofia  --%>

            <ext:FieldSet 
                runat="server"
                Title="Detalle de la Up"
                DefaultAnchor="100%">
                <Defaults>
                    <ext:Parameter Name="labelWidth" Value="89" Mode="Raw" />
                </Defaults>
                <Items>
               
                      

                     <ext:FieldContainer 
                runat="server" 
                FieldLabel="Nombre Up" 
                AnchorHorizontal="100%" 
                Layout="HBoxLayout">                                       
                <Items>
                    <ext:TextField ID ="Txt_Nomb_UP2" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="true"/>                    
                </Items>
            </ext:FieldContainer>

                 


                    <%-- Numero de actas sofia plus al registro ya seleccionado --%>

                <ext:FieldContainer 
                runat="server" 
                FieldLabel="Cod. Centro" 
                AnchorHorizontal="100%" 
                Layout="HBoxLayout">                                       
                <Items>
                      
                      <ext:TextField ID="Txt_Cod_Cent_Form2" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="true"/>                  
                </Items>
            </ext:FieldContainer>


             <%-- Numero de la ficha --%>

                <ext:FieldContainer 
                runat="server" 
                FieldLabel="No. Ficha" 
                AnchorHorizontal="100%" 
                Layout="HBoxLayout">                                       
                <Items>
                    <ext:TextField   ID="Txt_NFicha_UP2" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="true"/>                    
                </Items>
            </ext:FieldContainer>

                </Items>




            </ext:FieldSet>
        </Items>

        
        <Items>

         <%--Contenedor datos basicos de la up sofia  --%>

            <ext:FieldSet runat="server"    Title="Localizacion de la U.P."   DefaultAnchor="100%">

                <Defaults>
                    <ext:Parameter Name="labelWidth" Value="89" Mode="Raw" />
                </Defaults>
                <Items>
               
                    <%-- Localizacion --%>   

                <ext:FieldContainer   runat="server"     FieldLabel="Localización" AnchorHorizontal="100%" Layout="HBoxLayout">     
                             
                <Items>
                    <ext:NumberField   ID="Txt_Latitud" runat="server" MaxLeng="20"  AllowBlank="false" Width="200" FieldLabel="Latitud"/>
                     <ext:NumberField   ID="Txt_Longitud" runat="server" MaxLeng="20"  AllowBlank="false" Width="200" FieldLabel="Longitud"/>
                       
                </Items>
            </ext:FieldContainer>

                 
                     <%-- Tipo de Poseción --%>   

                     <ext:FieldContainer  runat="server"   MsgTarget="Side" CombineErrors="true"  FieldLabel="Tipo de Poseción "   Layout="HBoxLayout">    
                                   
                          <Items>
                                  <ext:SelectBox
                                    ID="Slb_Tipo_Posecion"
                                 runat="server"     >             
                                 <Items>
                                  <ext:ListItem Text="Propietario" Value="1" />
                                 <ext:ListItem Text="SENA" Value="2" />
                                 <ext:ListItem Text="Tenedor" Value="3" />
                                 <ext:ListItem Text="Poseedor" Value="4" />
                                 <ext:ListItem Text="Comodatario" Value="5" />
                          </Items>
                    
                              </ext:SelectBox>
                              </Items>
                         </ext:FieldContainer>




                     <%-- Tipo de Predio --%>   

                     <ext:FieldContainer  runat="server"   MsgTarget="Side" CombineErrors="true"  FieldLabel="Tipo de Predio "   Layout="HBoxLayout">    
                                   
                          <Items>
                                  <ext:SelectBox
                                    ID="Slb_Tipo_Peredio"
                                 runat="server"     >             
                                 <Items>
                                  <ext:ListItem Text="Urbano" Value="1" />
                                 <ext:ListItem Text="Rural" Value="2" />
                          </Items>                 
                              </ext:SelectBox>
                              </Items>
                         </ext:FieldContainer>

                   
             <%--  Area Total --%>
                    
         <ext:FieldContainer   runat="server"     FieldLabel="Area Total" AnchorHorizontal="100%" Layout="HBoxLayout">                
                <Items>
                    
                    <ext:NumberField   ID="Txt_Area_Total" runat="server" MaxLeng="20"  AllowBlank="false" Width="200" />  
                     
                </Items>
            </ext:FieldContainer>


                    
             <%--  Area Productiva --%>

                <ext:FieldContainer   runat="server"     FieldLabel="Area Productiva" AnchorHorizontal="100%" Layout="HBoxLayout">     
                <Items>
                    
                    <ext:NumberField   ID="Txt_Area_Prod" runat="server" MaxLeng="20"  AllowBlank="false" Width="200" />  
                     
                </Items>
            </ext:FieldContainer>



             <%--  Area Potencial --%>
             <ext:FieldContainer   runat="server"     FieldLabel="Area Potencial" AnchorHorizontal="100%" Layout="HBoxLayout">     
                <Items>
                    
                    <ext:NumberField   ID="Txt_Area_Potencial" runat="server" MaxLeng="20"  AllowBlank="false" Width="200" />  
                     
                </Items>
            </ext:FieldContainer>


              

             <%--  Direccion --%>

                <ext:FieldContainer runat="server"  FieldLabel="Dirección" AnchorHorizontal="100%"  Layout="HBoxLayout">                    
                <Items>
                    <ext:TextField   ID="Txt_Direccion_Up" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="false"/>                    
                </Items>
            </ext:FieldContainer>



         <%--  Nombre de la Vereda o Barrio --%>

                <ext:FieldContainer runat="server"  FieldLabel="Dirección" AnchorHorizontal="100%"  Layout="HBoxLayout">                    
                <Items>
                    <ext:TextField   ID="Txt_Nomb_Vere_Brio" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="false"/>                    
                </Items>
            </ext:FieldContainer>



         <%--  Altura --%>

                <ext:FieldContainer runat="server"  FieldLabel="Altura" AnchorHorizontal="100%"  Layout="HBoxLayout">                    
                <Items>
                    <ext:TextField   ID="Txt_Altura" runat="server" Width="250" Margins="0 3 0 0" ReadOnly="false"/>                    
                </Items>
            </ext:FieldContainer>




         <%-- Vias de Acceso --%>   

                     <ext:FieldContainer  runat="server"   MsgTarget="Side" CombineErrors="true"  FieldLabel="Vias de Acceso"   Layout="HBoxLayout">    
                                   
                          <Items>
                                  <ext:SelectBox
                                    ID="Slb_Vias_Acceso"
                                 runat="server"     >             
                                 <Items>
                                  <ext:ListItem Text="CARRETERA" Value="CARRETERA" />
                                 <ext:ListItem Text="FLUVIAL" Value="FLUVIAL" />
                                     <ext:ListItem Text=" CAMINO HERRADURA" Value=" CAMINO HERRADURA" />
                                    
                          </Items>                 
                              </ext:SelectBox>
                              </Items>
                         </ext:FieldContainer>






                </Items>




            </ext:FieldSet>
        </Items>

            <Items>
         <ext:Toolbar     runat="server"       Flex="1"     Flat="true">   
              <Items>
                            <ext:Button ID="Btn_GuardarGeoreferenciacion" runat="server" Text="Guardar..." Icon="Add" >
                                   <DirectEvents>
                                   <Click OnEvent="Btn_GuardarGeoreferenciacion_Click">
                                   <EventMask ShowMask="true" Msg="Buscando..." MinDelay="500" />
                                  </Click>
                           </DirectEvents>
                         </ext:Button>
                        </Items>
        </ext:Toolbar>
      </Items>
</ext:FormPanel>

    </form>
</body>
</html>